<?php
/**
 * @copyright: ©2024 永州微聚 商网络科技有限公司
 * @link: https://www.weijuYunke.com
 */
namespace app\mobile\validate;

use think\Validate;

class Composite extends Validate
{

    /**
     * 定义验证规则
     * 格式：'字段名' => ['规则1','规则2'...]
     *
     * @var array
     */
    protected $rule = [
        'image_id|形象id' => 'require',
        'sound_id|音频id' => 'require'
    ];

    /**
     * 定义错误信息
     * 格式：'字段名.规则名' => '错误信息'
     *
     * @var array
     */
    protected $message = [];

    protected $scene = [];
}